import { defineConfig } from 'vite'
import uni from "@dcloudio/vite-plugin-uni"
export default defineConfig({
	plugins:[uni()],
	server:{
		proxy:{
			'/api':{
				target:'http://172.30.1.238:8080',
				// target:'http://172.30.1.86:8080',
				changeOrigin:true,
				rewrite:(path)=>path.replace(/^\/api/,'')
			}
		}
	}
})